package com.summer.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.shopping.domain.table.ShoppingCart;
import com.summer.shopping.domain.table.dto.PageDTO;
import com.summer.shopping.domain.table.dto.ShoppingCarDTO;
import com.summer.shopping.domain.table.vo.ShoppingCartVo;
import com.summer.shopping.utils.PageResult;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {
    void add(ShoppingCarDTO shoppingCartDTO);

    void clean();

    void delete(List<Long> ids);

    PageResult<ShoppingCartVo> getPageList(PageDTO pageDTO);
}
